#ifndef UKUIWINDOWMANAGER_H
#define UKUIWINDOWMANAGER_H


//窗口管理基类,只是数据管理，图形绘制再别的地方

#include <QObject>
#include <QVector>

class UKUIWindow;

class UKUIWindowManager: public QObject
{
    Q_OBJECT
public:
    UKUIWindowManager(QObject *parent = nullptr);
    virtual ~UKUIWindowManager();

    virtual QVector<UKUIWindow *> getWindows();

signals:
    void windowAdded(UKUIWindow* newWindow);
    void windowRemoved(UKUIWindow* window);

protected:
    QVector<UKUIWindow*> m_windows;
};

#endif // UKUIWINDOWMANAGER_H
